home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 75
/
XENIATGM75.iso
/
Shareware
/
X-Setup 5.0
/
_SETUP.1
/
XQ IE Outlook Express 2.xpl
< prev
next >
Wrap
Text File
|
1998-08-20
|
2KB
|
70 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="3"
"COUNT"="1"
"UIPATH"="Internet\Outlook Express"
"NAME"="Address Book Folder"
"LANGUAGE"="VBScript"
"TEXT 1"="Adress Book"
"DATA 1"="WAB Files (*.wab)|*.wab"
"DESCRIPTION 1"="If you do not like the default location of your Outlook Express Address Book, you can change it here."
"DESCRIPTION 2"="Please select the new location for the address book (WAB) file and the file will be moved there."
"DESCRIPTION 3"="Remember to exit Outlook Express before applying the change!"
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Version 1.0"
"COMMENT 3"=" "
"COMMENT 4"="Thanks to Bj÷rn Teichmann and Marco Schelling for this setting."
'sPath="HKCU\Software\Microsoft\WAB\WAB4_1\Wab File Name\"
sPath="HKCU\Software\Microsoft\WAB\WAB4\Wab File Name\"
sPath2=sPath & "@"
sOld=""
Sub Plugin_Initialize
if RegPathExists(sPath) then
s=RegReadValue(sPath2)
SetUIElement 1,s
sOld=s
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
if s<>"" then
if UCase(right(s,3))<>"WAB" then
Call MsgError("Please enter the name and path of the WAB file, for example C:\DATA\ADDRB.WAB. Do not forgot the WAB extension.")
else
if FileExists(s)=true then
Call MsgError("The selected file already exists! Please choose a different name.")
else
'looks OK, let's try it
Call FileCopy(sOld,s)
Call RegWriteValue(sPath2,s,1)
Call FileDelete(sOld)
Call MsgInformation("File has been moved to " & s & ".")
end if
end if
else
Call MsgError("Please supply a location for the WAB file!")
end if
End Sub
Sub Plugin_Terminate
End Sub